package com.x.Part1_Error类;

/**
 * ClassName: ErrorTest
 * Package: IntelliJ IDEA
 * Description:
 * Written by HanXu
 * Create 2024.03.16 21:22
 */
public class ErrorTest {
    public static void main(String[] args) {

        //java.lang.StackOverflowError
        //栈内存溢出
        //main(args);

        //java.lang.OutOfMemoryError
        //堆空间溢出
        //Byte[] b1 = new Byte[1024*1024*9999];
    }
}
